<p-dialog [(visible)]="display" modal="modal"  [responsive]="true" [width]="width" (onHide)="closeIntervalMask(false)" >
  <p-header>
    <!--{{title}}-->
    {{this.inpectionOrder['title']}}
  </p-header>
  <div class="ui-g my-datatable">
    <div class="ui-g-12">
      <div class="mysearch">
        <label>开始时间:&nbsp;&nbsp;</label>{{this.inpectionOrder.start_time}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <label>结束时间:&nbsp;&nbsp;</label>{{this.inpectionOrder.end_time}}
      </div>
      <div class="file-box">
        <p-dataTable [value]="inspections"
                     [totalRecords]="totalRecords"  [(selection)]="selectInsepections" (onEditComplete)="tableEditComplete($event)" [editable]="true">
          <p-column  *ngFor="let col of cols" field="{{col.field}}" header="{{col.header}}"  [editable]="col.editable"></p-column>

          <ng-template pTemplate="emptymessage">
            当前没有数据
          </ng-template>
        </p-dataTable>
        <p-paginator rows="10" [totalRecords]="totalRecords" [rowsPerPageOptions]="[10,20,30]" (onPageChange)="paginate($event)"></p-paginator>
      </div>
    </div>
  </div>
  <p-footer>
    <!--<button type="button" pButton icon="fa-check"  label="保存" (click)="saveIntervalOrder(false)"></button>-->
    <button type="button" pButton icon="fa-close"  label="关闭" (click)="closeIntervalMask(false)"></button>
  </p-footer>
</p-dialog>
